package com.hebeu.xwl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

public class Data {
//    dataId	int
//    batchId	int
//    chartType	varchar
//    factors	varchar
//    data	varchar
    @TableId(type = IdType.AUTO)
    private int dataId;
    private int batchId;
    @TableField(value = "`chartType`")
    private String chartType;
    @TableField(value = "`factors`")
    private String factors;
    @TableField(value = "`data`")
    private String data;

    public Data() {
    }

    public int getDataId() {
        return dataId;
    }

    public void setDataId(int dataId) {
        this.dataId = dataId;
    }

    public int getBatchId() {
        return batchId;
    }

    public void setBatchId(int batchId) {
        this.batchId = batchId;
    }

    public String getChartType() {
        return chartType;
    }

    public void setChartType(String chartType) {
        this.chartType = chartType;
    }

    public String getFactors() {
        return factors;
    }

    public void setFactors(String factors) {
        this.factors = factors;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Data{" +
                "dataId=" + dataId +
                ", batchId=" + batchId +
                ", chartType='" + chartType + '\'' +
                ", factors='" + factors + '\'' +
                ", data='" + data + '\'' +
                '}';
    }

    public Data(int dataId, int batchId, String chartType, String factors, String data) {
        this.dataId = dataId;
        this.batchId = batchId;
        this.chartType = chartType;
        this.factors = factors;
        this.data = data;
    }
}
